﻿using System.Collections.Generic;
using Core.Common;
using Poker;

namespace Games
{
    /// <summary>
    /// 玩家的手牌
    /// </summary>
    public class DeckOfCard : List<PokerCard>
    {
        /// <summary>
        /// 手牌的牌型
        /// </summary>
        public KindOfCards KindOfCards { get; set; }
        /// <summary>
        /// 手牌的牌面情况
        /// </summary>
        /// <returns></returns>
        public override string ToString() => $"{string.Join(AppSettings.CHAR_SPACE, this)} -> {KindOfCards.GetEnumDisplayName()}";
    }
}
